﻿using MediatR;
using SmartTracking.API.Read.DTO;
using SmartTracking.ErrorCode;

namespace SmartTracking.API.Read.Application.Commands.User_command
{
    public class GetUserCommand:IRequest<ApiResult<ApiPaging<UserDto>>>
    {
        /// <summary>
        /// 页码
        /// </summary>
        public int PageIndex { get; set; }
        /// <summary>
        /// 每页数量
        /// </summary>
        public int PageSize { get; set; }
        /// <summary>
        /// 用户昵称
        /// </summary>
        public string? UserNickName { get; set; }
        /// <summary>
        /// 用户状态
        /// </summary>
        public int UserStatus { get; set; }
    }
}
